-
Home
-
Beans ยท Loyalty and Rewards programs for Woocommerce
-
3.2.4
-
Code
-
Classes
- ProductObserver
Total Complexity |
42 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
197 |
Lines of code |
148 |
Logical lines of code |
90 |
Comment lines |
1 |
Methods |
8 |
Properties |
4 |
Methods 8
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
applyPayWithPointRedemption() |
A |
44 |
13 |
44 |
addToCartValidation() |
A |
51 |
8 |
25 |
isPurchasableProduct() |
S |
54 |
7 |
20 |
updateProductPrice() |
S |
61 |
4 |
11 |
init() |
S |
55 |
2 |
18 |
isSoldIndividuallyProduct() |
S |
64 |
3 |
10 |
removeProductFromCart() |
S |
66 |
3 |
8 |
addToCartButtonText() |
S |
62 |
2 |
12 |